package com.fly.system.service;

import com.fly.common.model.SysUserModel;
import com.fly.common.model.ZtreeModel;
import com.fly.system.model.SysMenuModel;

import java.util.List;

public interface SysMenuService{

    public List<SysMenuModel> findMenuListByUserId(SysUserModel mdoel);

    List<ZtreeModel> findMenuTree();

    int addSave(SysMenuModel model);

    List<SysMenuModel> findPage(SysMenuModel model);

    SysMenuModel findMenuModel(SysMenuModel model);

    SysMenuModel findMenuModelById(Long id);

    int deleteModel(SysMenuModel model);

    int editModelById(SysMenuModel model);
}
